package com.cuit.qx.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cuit.qx.bean.SystemConfiguration;
import com.cuit.qx.dao.SystemConfigurationMapper;
import com.cuit.qx.service.SystemConfigurationService;


@Service
public class SystemConfigurationServiceImpl implements SystemConfigurationService {

	@Autowired
	private SystemConfigurationMapper systemConfigurationMapper;
	
	@Override
	public int update(SystemConfiguration systemConfiguration) {	
		return systemConfigurationMapper.update(systemConfiguration);
	}

	@Override
	public int delete(String id) {
		return systemConfigurationMapper.delete(id);
	}

	@Override
	public List<SystemConfiguration> getConfiguration() {
		return systemConfigurationMapper.getConfiguration();
	}

}
